// pages/ask/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    adItems: [
      {
        image: 'https://image1.ljcdn.com/baikeimg/wenda1521078744php81P1EZ.jpeg.702x338.jpg',
        text: '买满五唯一的二手房能免征多少税费',
        time:"2018-01-01"
      },
      {
        image: 'https://image1.ljcdn.com/baikeimg/wenda1521193501php7Q7ssh.jpeg.702x338.jpg',
        text: '想换大房？改善型置业要注意什么？',
        time: "2018-01-02"
      },
      {
        image: 'https://image1.ljcdn.com/baikeimg/wenda1520992486phpvgGqTV.jpeg.702x338.jpg',
        text: '二手房价低于周边市场价，会有哪些原因？',
        time: "2018-01-03"
      }
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 3000,
    duration: 400,
    goodWorkers:[
      {
        bg:"https://image1.ljcdn.com/usercenter/images/uc_ehr_avatar/302e87ae-8287-4d7e-944d-b0bdeff836c5.jpg.120x120.jpg",
        name:"韩阳泉",
        type:"交易过户"
      },
      {
        bg: "https://image1.ljcdn.com/usercenter/images/uc_ehr_avatar/302e87ae-8287-4d7e-944d-b0bdeff836c5.jpg.120x120.jpg",
        name: "陈德德",
        type: "交易过户"
      },
      {
        bg: "https://image1.ljcdn.com/usercenter/images/uc_ehr_avatar/302e87ae-8287-4d7e-944d-b0bdeff836c5.jpg.120x120.jpg",
        name: "李水水",
        type: "买房"
      },
      {
        bg: "https://image1.ljcdn.com/usercenter/images/uc_ehr_avatar/302e87ae-8287-4d7e-944d-b0bdeff836c5.jpg.120x120.jpg",
        name: "梅大大",
        type: "交易过户"
      }
    ],
    questions:[
      {
        bg:"https://image1.ljcdn.com/baikeimg/wenda1520828330phpBIUopw.jpeg",
        text:"贷款利率上浮，现在买房贷款划算吗？"
      },
      {
        bg: "https://image1.ljcdn.com/baikeimg/wenda1520828330phpBIUopw.jpeg",
        text: "贷款利率上浮，现在买房贷款划算吗？"
      },
      {
        bg: "https://image1.ljcdn.com/baikeimg/wenda1520828330phpBIUopw.jpeg",
        text: "贷款利率上浮，现在买房贷款划算吗？"
      },
      {
        bg: "https://image1.ljcdn.com/baikeimg/wenda1520828330phpBIUopw.jpeg",
        text: "贷款利率上浮，现在买房贷款划算吗？"
      }
    ],
    qhots:[
      {
        title:"夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc:"您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags:[
          {
            name:"贷款"
          },
          {
            name:"商业贷款"
          }
        ]
      },
      {
        title: "夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc: "您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags: [
          {
            name: "贷款"
          },
          {
            name: "商业贷款"
          }
        ]
      },
      {
        title: "夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc: "您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags: [
          {
            name: "贷款"
          },
          {
            name: "商业贷款"
          }
        ]
      },
      {
        title: "夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc: "您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags: [
          {
            name: "贷款"
          },
          {
            name: "商业贷款"
          }
        ]
      },
      {
        title: "夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc: "您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags: [
          {
            name: "贷款"
          },
          {
            name: "商业贷款"
          }
        ]
      },
      {
        title: "夫妻共同申请贷款，女方刚离职，是否影响贷款？",
        desc: "您好，很高兴为您服务！如果借款人收入证明不足以覆盖月供两倍，可以采取这两种措施：...",
        tags: [
          {
            name: "贷款"
          },
          {
            name: "商业贷款"
          }
        ]
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})